{extend name="layout" /}
{block name="title"}转账配置{/block}
{block name="content"}
<div class="layui-fluid">
    <div class="layui-row layui-col-space15">
        <div class="layui-col-md12">
            <div class="layui-card">
                <div class="layui-card-header">转账配置</div>
                <div class="layui-card-body" pad15>
                        <div class="layui-form" wid100 lay-filter="">

                            <div class="layui-form-item">
                                <label class="layui-form-label">方式</label>
                                <div class="layui-input-block">
                                    <input type="radio" name="type" value="0" title="及时到账" {eq name="value.type" value="0"}checked=""{/eq} >
                                    <input type="radio" name="type" value="1" title="审核到账" {eq name="value.type" value="1"}checked=""{/eq} >
                                </div>
                            </div>
                            <div class="layui-form-item">
                                <label class="layui-form-label">手续费</label>
                                <div class="layui-input-block">
                                    <input type="number" name="rate" value="{$value.rate|default='0.03'}"
                                           class="layui-input">
                                </div>
                            </div>
                            <div class="layui-form-item">
                                <label class="layui-form-label">单日次数</label>
                                <div class="layui-input-block">
                                    <input type="number" name="count" value="{$value.count|default='3'}"
                                           class="layui-input">
                                </div>
                            </div>
                            <div class="layui-form-item">
                                <label class="layui-form-label">单笔最低</label>
                                <div class="layui-input-block">
                                    <input type="text" name="min" value="{$value.min|default='1'}"
                                           class="layui-input">
                                </div>
                            </div>
                            <div class="layui-form-item">
                                <label class="layui-form-label">单笔最高</label>
                                <div class="layui-input-block">
                                    <input type="text" name="max" value="{$value.max|default='1000'}"
                                           class="layui-input">
                                </div>
                            </div>
                            <div class="layui-form-item">
                                <label class="layui-form-label">转账备注</label>
                                <div class="layui-input-block">
                                    <input type="text" name="remark" value="{$value.remark|default=''}"
                                           class="layui-input">
                                </div>
                            </div>

                            <div class="layui-form-item">
                                <div class="layui-input-block">
                                    <input type="hidden" name="id" value="{$key}">
                                    <button class="layui-btn" lay-submit lay-filter="set_system">确认保存</button>
                                </div>
                            </div>
                        </div>
                </div>
            </div>
        </div>
    </div>
</div>

<style>
    .type2, .type3{display: none}
</style>
{/block}
{block name="module"}'set'{/block}
